package com.zys.el.user.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zys.el.core.po.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("note_")
public class Note extends BaseEntity {
    /**
     * 作者id
     */
    @TableField("author_id_")
    private Long authorId;
    /**
     * 创建时间
     */
    @TableField("create_time_")
    private Date createTime;
    /**
     * 笔记内容
     */
    @TableField("content_")
    private String contentPath;
    /**
     * 笔记主题
     */
    @TableField("item_")
    private String item;
    /**
     * 粉丝中间表id
     */
    @TableField("fans_menu_id_")
    private Long fansMenuId;
    /**
     * 笔记简介
     */
    @TableField("introduction_")
    private String noteItem;
    @TableField("delete_")
    private Integer delete;
    /**
     * 笔记涉及领域
     */
    @TableField(exist = false)
    private List<String> fields;
}
